package com.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class ProviderController {


    /**
     * 扣减库存
     */
    @RequestMapping("/gateway/provider/find")
    public String decrease() {
        System.out.println("被请求了");
        return "Provider success";
    }

    @RequestMapping("/gateway/provider/list")
    public String list() {
        System.out.println("list被请求了");
        return "Provider list success";
    }
}
